package cn.virens.database.mysql.model.sys.user;

import java.io.Serializable;

import javax.persistence.Table;

@Table(name = "sys_user_group_resource")
public class SysUserGroupResource implements Serializable {
	/**
	 * 分组标识
	 */
	private String identity;

	/**
	 * 资源标识
	 */
	private String resource;

	/**
	 * 权限标识
	 */
	private String permission;

	private static final long serialVersionUID = 1L;

	/**
	 * 获取分组标识
	 *
	 * @return identity - 分组标识
	 */
	public String getIdentity() {
		return identity;
	}

	/**
	 * 设置分组标识
	 *
	 * @param identity 分组标识
	 */
	public void setIdentity(String identity) {
		this.identity = identity;
	}

	/**
	 * 获取资源标识
	 *
	 * @return resource - 资源标识
	 */
	public String getResource() {
		return resource;
	}

	/**
	 * 设置资源标识
	 *
	 * @param resource 资源标识
	 */
	public void setResource(String resource) {
		this.resource = resource;
	}

	/**
	 * 获取权限标识
	 *
	 * @return permission - 权限标识
	 */
	public String getPermission() {
		return permission;
	}

	/**
	 * 设置权限标识
	 *
	 * @param permission 权限标识
	 */
	public void setPermission(String permission) {
		this.permission = permission;
	}
}